Skip to content

Clarify that loseContext also frees WebGL resources#42894

Merged
Josh-Cena merged 3 commits intomdn:mainfrom
badwriter123:fix-webgl-losecontext-doc
Apr 10, 2026
Merged

Clarify that loseContext also frees WebGL resources#42894
Josh-Cena merged 3 commits intomdn:mainfrom
badwriter123:fix-webgl-losecontext-doc

Conversation

@badwriter123
Copy link
Copy Markdown
Contributor

@badwriter123 badwriter123 commented Jan 24, 2026

Fix #42833

For the file --> https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/loseContext

  1. I have added a note explaining that loseContext frees WebGL resources, as per the requirement.

Thank you 😊.

@badwriter123 badwriter123 requested a review from a team as a code owner January 24, 2026 05:59
@badwriter123 badwriter123 requested review from sideshowbarker and removed request for a team January 24, 2026 05:59
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Jan 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 24, 2026

Preview URLs (2 pages)

External URLs (2)

URL: /en-US/docs/Web/API/WEBGL_lose_context/loseContext
Title: WEBGL_lose_context: loseContext() method


URL: /en-US/docs/Web/API/WEBGL_lose_context/restoreContext
Title: WEBGL_lose_context: restoreContext() method

(comment last updated: 2026-04-10 18:25:17)

@sideshowbarker sideshowbarker removed their request for review February 9, 2026 06:12
@Josh-Cena Josh-Cena requested a review from a team as a code owner April 10, 2026 18:16
@Josh-Cena Josh-Cena requested review from hamishwillee and removed request for a team April 10, 2026 18:16
@github-actions github-actions bot added size/s [PR only] 6-50 LoC changed and removed size/xs [PR only] 0-5 LoC changed labels Apr 10, 2026
Copy link
Copy Markdown
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@Josh-Cena Josh-Cena merged commit cedeb45 into mdn:main Apr 10, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should mention being recommended mechanism to drop underlying graphics resources

3 participants